<?php
include("../clases/Class_Session.php");
$Sess_add = new sesion();
if(!$Sess_add->__get('userlog'))
{
	header('Location:../login.php?error=502');
}
else
{
	header('Location:../main.php');	
}
?>